﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ServiceFunding.ascx.cs"
    Inherits="ServicesDirectory.UserControl.ServiceFunding" %>
<%@ Register Src="ListContact.ascx" TagName="ListContact" TagPrefix="uc1" %>
<style type="text/css">
    .textCalendar
    {
        background-image: url(../Resources/Images/calendar.png);
        background-repeat: no-repeat;
        border: none;
        height: 24px;
        width: 24px;
        cursor: pointer;
    }
</style>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div id="overlay4" class="web_dialog_overlay">
        </div>
        <div class="ManagerContentBorder">
            <div class="spaceManager">
            </div>
            <div style="font-weight: bold">
                General</div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Funding Source
            </div>
            <div class="titleCol2">
                <asp:DropDownList runat="server" Width="99%" ID="ddlFundingsource" />
            </div>
            <div class="titleCol1">
                Funding Needs
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtFundingNeeds" Width="99%" MaxLength="30"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Funding Contact Detail <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:Label runat="server" ID="lblLookupDetail" CssClass="SicCode" Width="65%"></asp:Label>
                &nbsp;
                <asp:LinkButton runat="server" ID="lbtLookupContact" CssClass="lookUp" Text="Lookup"></asp:LinkButton>
            </div>
            <div class="titleCol1">
                Funding continiuation Needed
            </div>
            <div class="titleCol2">
                <asp:CheckBox runat="server" AutoPostBack="true" ID="chkContiniuationNeeded" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Funding Amount <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Width="50%" ID="txtAmount" MaxLength="30"></asp:TextBox>
            </div>
            <div class="titleCol1">
                Funding continiuation Amount
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtFundingContiniuationAmount" Enabled="false" Width="50%"
                    MaxLength="30"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div style="float: left; width: 350px">
                <div class="titleCol1">
                    Funding Start
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" ID="txtFundingStart" AutoPostBack="true" CssClass="textMiddle"
                        Width="80%"></asp:TextBox>
                    <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceFunding1_txtFundingStart,'dd/mm/yyyy',this)"
                        src="../Resources/Images/calendar.png" />
                </div>
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Funding End
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" ID="txtFundingEnd" AutoPostBack="true" CssClass="textMiddle"
                        Width="80%"></asp:TextBox>
                    <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceFunding1_txtFundingEnd,'dd/mm/yyyy',this)"
                        src="../Resources/Images/calendar.png" />
                </div>
            </div>
            <div class="titleCol1">
                Funding continiuation Details
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Enabled="false" TextMode="MultiLine" ID="txtContiniuationDetails"
                    MaxLength="250"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div style="font-weight: bold">
                Fundraising For Service Project
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Fundraising For Text
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtFundraisingForText" TextMode="MultiLine" Width="99%"
                    MaxLength="250"></asp:TextBox>
            </div>
            <div style="float: left; width: 350px">
                <div class="titleCol1">
                    Fundraising Needs
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" ID="txtFundraisingNeeds" Width="50%" MaxLength="30"></asp:TextBox>
                </div>
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Fundraising Required By
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" CssClass="textMiddle" AutoPostBack="true" ID="txtFundraisingRequiredBy"
                        Width="80%"></asp:TextBox>
                    <asp:Label runat="server" ID="lblFundraisingRequiredBy" CssClass="textCalendar"></asp:Label>
                    <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceFunding1_txtFundraisingRequiredBy,'dd/mm/yyyy',this)"
                        src="../Resources/Images/calendar.png" />
                </div>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Fundraising Why
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtFundraisingWhy" TextMode="MultiLine" Width="99%"
                    MaxLength="250"></asp:TextBox>
            </div>
            <div style="float: left; width: 350px">
                <div class="titleCol1">
                    Fundraising Complete
                </div>
                <div class="titleCol2">
                    <asp:CheckBox runat="server" ID="chkFundraisingComplete" AutoPostBack="true" />
                </div>
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Fundraising Complete Date
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" CssClass="textMiddle" AutoPostBack="true" ID="txtFundraisingCompleteDate"
                        Enabled="false" Width="80%"></asp:TextBox>
                    <asp:Image ID="imgFundraisingCompleteDate" runat="server" Visible="false" ImageUrl="../Resources/Images/calendar.png"
                        onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceFunding1_txtFundraisingRequiredBy,'dd/mm/yyyy',this)" />
                    <asp:Image ID="imgFundraisingCompleteDate1" ImageUrl="../Resources/Images/calendardisable.png"
                        runat="server" />
                </div>
            </div>
            <div class="spaceManager">
            </div>
            <div style="font-weight: bold">
                Fundraising Donor
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Fundraising Donor Anonymous
            </div>
            <div class="titleCol2">
                <asp:CheckBox runat="server" ID="chkDonorAnonymous" />
            </div>
            <div class="titleCol1">
                Funding Donor Date
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" CssClass="textMiddle" AutoPostBack="true" ID="txtFundingDonorDate"
                    Width="80%"></asp:TextBox>
                <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceFunding1_txtFundingDonorDate,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Fundraising Donation Amount
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtFundraisingAmount" Width="50%"></asp:TextBox>
            </div>
            <div class="titleCol1">
                Funding Donation Incremental
            </div>
            <div class="titleCol2">
                <asp:CheckBox runat="server" ID="chkDonationIncremental" />
            </div>
            <div class="spaceManager">
            </div>
            <asp:Panel runat="server" CssClass="web_dialog" Visible="false" ID="pnFundingContact">
                <uc1:ListContact ID="ListContact1" runat="server" />
            </asp:Panel>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
